package com.example.vhhj.dao;

import com.example.vhhj.entity.TbUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TbUserDAO {
    List<TbUser> findAll();

    int add(TbUser user);

    int updateUser(TbUser user);

    int delUser(int id);

    List<TbUser> queryByName(TbUser user);

    List<TbUser> queryLikeName(TbUser user);

    List<TbUser> queryByTiaojian(TbUser user);
}
